import 'dart:async';

import 'package:flutter/services.dart';

class AliyunPlugin {
  static const MethodChannel _channel =
      const MethodChannel('aliyun_plugin');

  static Future get metaInfo async {
    var metaInfo = await _channel.invokeMethod('metaInfo');
    return metaInfo;
  }
  static Future  faceVerify(String certifyId) async {
    var value = await _channel.invokeMethod('face',<String, dynamic>{'certifyId': certifyId});
    return value;
  }
  static Future  init() async {
    var value = await _channel.invokeMethod('init');
    return value;
  }
}
